﻿

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Models.Fmts;
/// <summary>
/// 设备状态
/// </summary>
public class EquipWarnStatus
{
    /// <summary>
    /// 0 未联机 1 待机  2 动作中 3 异常
    /// </summary>
    public int Status { get; set; }
    /// <summary>
    /// 前状态
    /// </summary>
    public int OldStatus { get; set; }

    /// <summary>
    /// 设备错误码
    /// </summary>
    public string ErrorCode { get; set; }
    /// <summary>
    /// 历史错误码
    /// </summary>
    public string OldErrorCode { get; set; }

    /// <summary>
    /// 设备编码
    /// </summary>
    public string Number { get; set; }
    /// <summary>
    /// 记录时间
    /// </summary>
    public DateTime? RecordTime { get; set; }
    /// <summary>
    /// 上传时间
    /// </summary>
    public DateTime? UploadTime { get; set; }


}
